<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">用户管理</h1>
</div>
<div class="wrapper-md"  ng-controller="employees">
    <div class="panel panel-default">
        <div class="panel-heading">
            用户列表
        </div>
        <div class="row wrapper">
            <div class="col-sm-5 m-b-xs">
                <button ui-sref="home.employee" class="btn m-b-xs btn-sm btn-info btn-addon">
                    <i class="fa fa-plus"></i>
                    新增
                </button>
            </div>
            <div class="col-sm-4">
            </div>
        </div>
        <div class="table-responsive">
            <table class="table table-striped b-t b-light">
                <thead>
                <tr>
                    <th style="width:20px;">
                        <label class="i-checks m-b-none">
                            <input type="checkbox"><i></i>
                        </label>
                    </th>
                    <th>真实姓名</th>
                    <th>登录名</th>
                    <th>昵称</th>
                    <th>创建时间</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="item in items">
                    <td><label class="i-checks m-b-none"><input type="checkbox" name="post[]"><i></i></label></td>
                    <td>{{item.realname}}</td>
                    <td>{{item.username}}</td>
                    <td>{{item.nickname}}</td>
                    <td>{{item.createTime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
                    <td>
                        <a class="active" ng-click="edit(item.id)"><i
                                class="fa fa-times text-success icon-note"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;<a
                            ng-click="delete(item.id)"><i class="fa fa-times text-danger"></i></a>
                    </td>
                </tr>

                </tbody>
            </table>
        </div>
        <footer class="panel-footer center-block">
          <div class="row text-center">
            <pagination total-items="totalElements" ng-model="number" max-size="5" items-per-page="size" class="pagination-sm m-t-none m-b" boundary-links="true" rotate="false" num-pages="totalPages"></pagination>
          </div>
        </footer>
    </div>
</div>
